home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3rmpbm.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  4.8 KB  |  179 lines

  1.  
  2. // JavaScript wrapper for r3rmpbm.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_RENDERMATPROPBITMAP_H = 1;
  7. include("real/raytr/r3rmprop.js")
  8.  
  9.  
  10. var R3CLID_RMPBITMAP = 428;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3RMPBMA_Bitmap = 428500;
  19. function GetR3RMPBMA_Bitmap() {
  20.   return R3ToJS(R3Get(this.r3obj, R3RMPBMA_Bitmap, R3TID_OBJECT, 0)); 
  21. }
  22.  
  23. R3RMPBMA_TileX = 428501;
  24. function SetR3RMPBMA_TileX(value) {
  25.   R3Set(this.r3obj, R3RMPBMA_TileX, value, R3TID_INTEGER, 0); 
  26. }
  27.  
  28. function GetR3RMPBMA_TileX() {
  29.   return R3Get(this.r3obj, R3RMPBMA_TileX, R3TID_INTEGER, 0); 
  30. }
  31.  
  32. R3RMPBMA_TileY = 428505;
  33. function SetR3RMPBMA_TileY(value) {
  34.   R3Set(this.r3obj, R3RMPBMA_TileY, value, R3TID_INTEGER, 0); 
  35. }
  36.  
  37. function GetR3RMPBMA_TileY() {
  38.   return R3Get(this.r3obj, R3RMPBMA_TileY, R3TID_INTEGER, 0); 
  39. }
  40.  
  41. R3RMPBMA_XFlags = 428509;
  42. function GetR3RMPBMA_XFlags() {
  43.   return R3Get(this.r3obj, R3RMPBMA_XFlags, R3TID_INTEGER, 0); 
  44. }
  45.  
  46. R3RMPBMA_YFlags = 428510;
  47. function GetR3RMPBMA_YFlags() {
  48.   return R3Get(this.r3obj, R3RMPBMA_YFlags, R3TID_INTEGER, 0); 
  49. }
  50.  
  51. R3RMPBMA_Width = 428511;
  52. function GetR3RMPBMA_Width() {
  53.   return R3Get(this.r3obj, R3RMPBMA_Width, R3TID_INTEGER, 0); 
  54. }
  55.  
  56. R3RMPBMA_Height = 428512;
  57. function GetR3RMPBMA_Height() {
  58.   return R3Get(this.r3obj, R3RMPBMA_Height, R3TID_INTEGER, 0); 
  59. }
  60.  
  61. R3RMPBMA_PixelReader = 428513;
  62. function GetR3RMPBMA_PixelReader() {
  63.   return R3ToJS(R3Get(this.r3obj, R3RMPBMA_PixelReader, R3TID_OBJECT, 0)); 
  64. }
  65.  
  66. R3RMPBMA_PixelReaderContext = 428514;
  67. function GetR3RMPBMA_PixelReaderContext() {
  68.   return R3ToJS(R3Get(this.r3obj, R3RMPBMA_PixelReaderContext, R3TID_OBJECT, 0)); 
  69. }
  70.  
  71. R3RMPBMA_OutputAddr = 428515;
  72. function GetR3RMPBMA_OutputAddr() {
  73.   return R3ToJS(R3Get(this.r3obj, R3RMPBMA_OutputAddr, R3TID_OBJECT, 0)); 
  74. }
  75.  
  76. R3RMPBMA_BitmapName = 428516;
  77. function SetR3RMPBMA_BitmapName(value) {
  78.   R3Set(this.r3obj, R3RMPBMA_BitmapName, value, R3TID_STRING, 0); 
  79. }
  80.  
  81. function GetR3RMPBMA_BitmapName() {
  82.   return R3Get(this.r3obj, R3RMPBMA_BitmapName, R3TID_STRING, 0); 
  83. }
  84.  
  85. R3RMPBMA_CurrentFrame = 428518;
  86. function SetR3RMPBMA_CurrentFrame(value) {
  87.   R3Set(this.r3obj, R3RMPBMA_CurrentFrame, value, R3TID_INTEGER, 0); 
  88. }
  89.  
  90. R3RMPBMA_BleedX = 428519;
  91. function SetR3RMPBMA_BleedX(value) {
  92.   R3Set(this.r3obj, R3RMPBMA_BleedX, value, R3TID_INTEGER, 0); 
  93. }
  94.  
  95. function GetR3RMPBMA_BleedX() {
  96.   return R3Get(this.r3obj, R3RMPBMA_BleedX, R3TID_INTEGER, 0); 
  97. }
  98.  
  99. R3RMPBMA_BleedY = 428520;
  100. function SetR3RMPBMA_BleedY(value) {
  101.   R3Set(this.r3obj, R3RMPBMA_BleedY, value, R3TID_INTEGER, 0); 
  102. }
  103.  
  104. function GetR3RMPBMA_BleedY() {
  105.   return R3Get(this.r3obj, R3RMPBMA_BleedY, R3TID_INTEGER, 0); 
  106. }
  107.  
  108. R3RMPBMA_SmoothRadius = 428521;
  109. function SetR3RMPBMA_SmoothRadius(value) {
  110.   R3Set(this.r3obj, R3RMPBMA_SmoothRadius, value, R3TID_FLOAT, 0); 
  111. }
  112.  
  113. function GetR3RMPBMA_SmoothRadius() {
  114.   return R3Get(this.r3obj, R3RMPBMA_SmoothRadius, R3TID_FLOAT, 0); 
  115. }
  116.  
  117. R3RMPBMA_Silent = 428522;
  118. function SetR3RMPBMA_Silent(value) {
  119.   R3Set(this.r3obj, R3RMPBMA_Silent, value, R3TID_INTEGER, 0); 
  120. }
  121.  
  122. function GetR3RMPBMA_Silent() {
  123.   return R3Get(this.r3obj, R3RMPBMA_Silent, R3TID_INTEGER, 0); 
  124. }
  125.  
  126. R3RMPBMA_SkipLink = 428524;
  127. function SetR3RMPBMA_SkipLink(value) {
  128.   R3Set(this.r3obj, R3RMPBMA_SkipLink, value, R3TID_BOOLEAN, 0); 
  129. }
  130.  
  131. R3RMPBMA_UseDefaultBindings = 428525;
  132. function SetR3RMPBMA_UseDefaultBindings(value) {
  133.   R3Set(this.r3obj, R3RMPBMA_UseDefaultBindings, value, R3TID_BOOLEAN, 0); 
  134. }
  135.  
  136. var R3BMF_TILE = 1;
  137. var R3BMF_FLIP = 2;
  138. var R3BMF_GRADE = 4;
  139. var R3BMF_EDGE = 8;
  140. var R3BMF_BLEED = 16;
  141.  
  142.  
  143. function r3Rmpbitmap () { 
  144.    this.base = r3God;
  145.    if(arguments.length) {
  146.       this.base(R3CLID_RMPBITMAP, arguments);
  147.    }
  148.    // Methods
  149.  
  150.    // Attributes
  151.    this.GetBitmap=GetR3RMPBMA_Bitmap;
  152.    this.GetTileX=GetR3RMPBMA_TileX;
  153.    this.SetTileX=SetR3RMPBMA_TileX;
  154.    this.GetTileY=GetR3RMPBMA_TileY;
  155.    this.SetTileY=SetR3RMPBMA_TileY;
  156.    this.GetXFlags=GetR3RMPBMA_XFlags;
  157.    this.GetYFlags=GetR3RMPBMA_YFlags;
  158.    this.GetWidth=GetR3RMPBMA_Width;
  159.    this.GetHeight=GetR3RMPBMA_Height;
  160.    this.GetPixelReader=GetR3RMPBMA_PixelReader;
  161.    this.GetPixelReaderContext=GetR3RMPBMA_PixelReaderContext;
  162.    this.GetOutputAddr=GetR3RMPBMA_OutputAddr;
  163.    this.GetBitmapName=GetR3RMPBMA_BitmapName;
  164.    this.SetBitmapName=SetR3RMPBMA_BitmapName;
  165.    this.SetCurrentFrame=SetR3RMPBMA_CurrentFrame;
  166.    this.GetBleedX=GetR3RMPBMA_BleedX;
  167.    this.SetBleedX=SetR3RMPBMA_BleedX;
  168.    this.GetBleedY=GetR3RMPBMA_BleedY;
  169.    this.SetBleedY=SetR3RMPBMA_BleedY;
  170.    this.GetSmoothRadius=GetR3RMPBMA_SmoothRadius;
  171.    this.SetSmoothRadius=SetR3RMPBMA_SmoothRadius;
  172.    this.GetSilent=GetR3RMPBMA_Silent;
  173.    this.SetSilent=SetR3RMPBMA_Silent;
  174.    this.SetSkipLink=SetR3RMPBMA_SkipLink;
  175.    this.SetUseDefaultBindings=SetR3RMPBMA_UseDefaultBindings;
  176. }
  177.  
  178. r3Rmpbitmap.prototype=new r3Rmatprop;
  179. // r3rmpbm.h_H